package com.paradise.sharding.eth.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * ETH合约代币信息表
 * </p>
 *
 * @author Paradise
 * @since 2021-07-15
 */
@TableName("t_eth_token")
public class EthToken implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 代币名称
     */
    private String name;

    /**
     * 合约地址
     */
    private String address;

    /**
     * 精度
     */
    private Integer accuracy;

    /**
     * 代币全称
     */
    private String fullName;

    /**
     * 中文名称
     */
    private String cnName;

    /**
     * 上市时间
     */
    private Integer publishTime;

    /**
     * 简介
     */
    private String desc;

    /**
     * 流通量
     */
    private BigDecimal circulationQuantity;

    /**
     * 发行货币数量
     */
    private BigDecimal issueQuantity;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(Integer accuracy) {
        this.accuracy = accuracy;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getCnName() {
        return cnName;
    }

    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public Integer getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Integer publishTime) {
        this.publishTime = publishTime;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public BigDecimal getCirculationQuantity() {
        return circulationQuantity;
    }

    public void setCirculationQuantity(BigDecimal circulationQuantity) {
        this.circulationQuantity = circulationQuantity;
    }

    public BigDecimal getIssueQuantity() {
        return issueQuantity;
    }

    public void setIssueQuantity(BigDecimal issueQuantity) {
        this.issueQuantity = issueQuantity;
    }

    @Override
    public String toString() {
        return "EthToken{" +
        "id=" + id +
        ", name=" + name +
        ", address=" + address +
        ", accuracy=" + accuracy +
        ", fullName=" + fullName +
        ", cnName=" + cnName +
        ", publishTime=" + publishTime +
        ", desc=" + desc +
        ", circulationQuantity=" + circulationQuantity +
        ", issueQuantity=" + issueQuantity +
        "}";
    }
}
